package com.geeguo.ebuilder.client.business.system.authorization.model;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotBlank;

@Getter
@Setter
public class LoginDTO {

	@NotBlank(message = "uuid")
	@Schema(title = "uuid")
	private String uuid;
	
	@NotBlank(message = "用户名不能为空")
	@Schema(title = "用户名")
    private String username;
	
	@NotBlank(message = "密码不能为空")
	@Schema(title = "密码")
    private String password;

	@NotBlank(message = "验证码不能为空")
	@Schema(title = "验证码")
	private String captcha;

	@NotBlank(message = "租户编码不能为空")
	@Schema(title = "租户编码")
	private String tenantCode;
}